Skip to main content

HumanResourcesAPI

The HumanResourcesAPI class provides methods for accessing user information within the service API. It includes functionalities for retrieving details of the current user, fetching users by ID, and obtaining user information by username, with built-in telemetry and exception handling.

Methods

NameDescription
SetUrl(url)Sets the API URL for requests.
GetUserByUserId(userId, telemetryCollectorHolder)Gets the information of the user whose user id is given.
GetCurrentUserInfo(telemetryCollectorHolder)Gets the logged in user's information.
GetUserByUserName(userName, telemetryCollectorHolder)Gets the information of the user whose username is given.